home *** CD-ROM | disk | FTP | other *** search
/ Tux Racer / Tux Racer.iso / program files / Sunspire Studios / Tux Racer / courses / common / terrains.tcl < prev    next >
Encoding:
Text File  |  2001-09-06  |  13.7 KB  |  311 lines

  1. # terrains.tcl
  2. #
  3. # Define standard terrains.
  4.  
  5. # ----- Begin output of [objserialize :terrains]
  6. objcreate {s_container} {:terrains}
  7.  
  8. # draw ice first so reflections work properly
  9. objcreate {s_terrain} {:terrains:ice} \
  10.     {-colour} {1 0 0} \
  11.     {-terrain} {:textures:terrain:ice} \
  12.     {-envmap_texture} {:textures:envmap} \
  13.     {-transition_textures} {:textures:terrain:transition_soft0 :textures:terrain:transition_soft1 :textures:terrain:transition_soft2 :textures:terrain:transition_soft3} \
  14.     {-friction} {0.22} \
  15.     {-comp_depth} {0.03} \
  16.     {-sound_action} {:actions:sounds:ice_slide}
  17.  
  18. objcreate {s_terrain} {:terrains:deepice} \
  19.     {-colour} {184 184 184} \
  20.     {-terrain} {:textures:terrain:deepice} \
  21.     {-envmap_texture} {:textures:envmap} \
  22.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  23.     {-friction} {0.2} \
  24.     {-comp_depth} {0.03} \
  25.     {-sound_action} {:actions:sounds:ice_slide}
  26.  
  27. objcreate {s_terrain} {:terrains:ice2} \
  28.     {-colour} {106 106 106} \
  29.     {-terrain} {:textures:terrain:ice2} \
  30.     {-envmap_texture} {:textures:envmap} \
  31.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  32.     {-friction} {0.2} \
  33.     {-comp_depth} {0.03} \
  34.     {-sound_action} {:actions:sounds:ice_slide}
  35.  
  36. objcreate {s_terrain} {:terrains:rock} \
  37.     {-colour} {126 126 126} \
  38.     {-terrain} {:textures:terrain:rock} \
  39.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  40.     {-friction} {0.9} \
  41.     {-comp_depth} {0.01} \
  42.     {-sound_action} {:actions:sounds:rock_slide}
  43.  
  44. objcreate {s_terrain} {:terrains:redrock} \
  45.     {-colour} {11 0 0} \
  46.     {-terrain} {:textures:terrain:redrock} \
  47.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  48.     {-friction} {0.8} \
  49.     {-comp_depth} {0.01} \
  50.     {-sound_action} {:actions:sounds:rock_slide}
  51.  
  52. objcreate {s_terrain} {:terrains:slate1} \
  53.     {-colour} {0 11 0} \
  54.     {-terrain} {:textures:terrain:slate1} \
  55.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  56.     {-friction} {0.7} \
  57.     {-comp_depth} {0.01} \
  58.     {-sound_action} {:actions:sounds:rock_slide}
  59.  
  60. objcreate {s_terrain} {:terrains:slate2} \
  61.     {-colour} {0 15 0} \
  62.     {-terrain} {:textures:terrain:slate2} \
  63.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  64.     {-friction} {0.7} \
  65.     {-comp_depth} {0.01} \
  66.     {-sound_action} {:actions:sounds:rock_slide}
  67.  
  68. objcreate {s_terrain} {:terrains:mud} \
  69.     {-colour} {0 0 255} \
  70.     {-terrain} {:textures:terrain:mud} \
  71.     {-track_head_texture} {:textures:terrain:muda} \
  72.     {-track_mark_texture} {:textures:terrain:mudb} \
  73.     {-track_tail_texture} {:textures:terrain:mudc} \
  74.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  75.     {-friction} {0.35} \
  76.     {-comp_depth} {0.09} \
  77.     {-sound_action} {:actions:sounds:mud_slide}
  78.  
  79. objcreate {s_terrain} {:terrains:pebbles2} \
  80.     {-colour} {219 219 219} \
  81.     {-terrain} {:textures:terrain:pebbles2} \
  82.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  83.     {-friction} {0.6} \
  84.     {-comp_depth} {0.03} \
  85.     {-sound_action} {:actions:sounds:rock_slide}
  86.  
  87. objcreate {s_terrain} {:terrains:pavement1} \
  88.     {-colour} {194 194 194} \
  89.     {-terrain} {:textures:terrain:pavement1} \
  90.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  91.     {-friction} {0.6} \
  92.     {-comp_depth} {0.03} \
  93.     {-sound_action} {:actions:sounds:rock_slide}
  94.  
  95. objcreate {s_terrain} {:terrains:icyroad} \
  96.     {-colour} {164 164 164} \
  97.     {-terrain} {:textures:terrain:icyroad} \
  98.     {-transition_textures} {:textures:terrain:transition_hard0 :textures:terrain:transition_hard1 :textures:terrain:transition_hard2 :textures:terrain:transition_hard3} \
  99.     {-friction} {0.2} \
  100.     {-comp_depth} {0.03} \
  101.     {-sound_action} {:actions:sounds:ice_slide}
  102.  
  103. objcreate {s_terrain} {:terrains:icycobblestone} \
  104.     {-colour} {170 170 170} \
  105.     {-terrain} {:textures:terrain:icycobblestone} \
  106.     {-transition_textures} {:textures:terrain:transition_hard0 :textures:terrain:transition_hard1 :textures:terrain:transition_hard2 :textures:terrain:transition_hard3} \
  107.     {-friction} {0.25} \
  108.     {-comp_depth} {0.03} \
  109.     {-sound_action} {:actions:sounds:ice_slide}
  110.  
  111. objcreate {s_terrain} {:terrains:dirt} \
  112.     {-colour} {210 210 210} \
  113.     {-terrain} {:textures:terrain:dirt} \
  114.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  115.     {-friction} {0.5} \
  116.     {-comp_depth} {0.03} \
  117.     {-sound_action} {:actions:sounds:mud_slide}
  118.  
  119. objcreate {s_terrain} {:terrains:grass} \
  120.     {-colour} {72 72 72} \
  121.     {-terrain} {:textures:terrain:grass} \
  122.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  123.     {-friction} {0.35} \
  124.     {-comp_depth} {0.03} \
  125.     {-sound_action} {:actions:sounds:grass_slide}
  126.  
  127. objcreate {s_terrain} {:terrains:forestfloor} \
  128.     {-colour} {3 0 0} \
  129.     {-terrain} {:textures:terrain:forestfloor} \
  130.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  131.     {-friction} {0.5} \
  132.     {-comp_depth} {0.01} \
  133.     {-sound_action} {:actions:sounds:forestfloor_slide}
  134.  
  135. objcreate {s_terrain} {:terrains:forestfloor2} \
  136.     {-colour} {43 43 43} \
  137.     {-terrain} {:textures:terrain:forestfloor2} \
  138.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  139.     {-friction} {0.5} \
  140.     {-comp_depth} {0.03} \
  141.     {-sound_action} {:actions:sounds:forestfloor_slide}
  142.  
  143.  
  144. objcreate {s_terrain} {:terrains:pebblesnow} \
  145.     {-colour} {238 238 238} \
  146.     {-terrain} {:textures:terrain:pebblesnow} \
  147.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  148.     {-friction} {0.5} \
  149.     {-comp_depth} {0.03} \
  150.     {-sound_action} {:actions:sounds:snow_slide}
  151.  
  152. objcreate {s_terrain} {:terrains:snow2streak1} \
  153.     {-colour} {0 99 0} \
  154.     {-terrain} {:textures:terrain:snow2streak1} \
  155.     {-particle_texture} {:textures:snow_particle} \
  156.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  157.     {-friction} {0.35} \
  158.     {-comp_depth} {0.06} \
  159.     {-sound_action} {:actions:sounds:snow_slide}
  160.  
  161. objcreate {s_terrain} {:terrains:snow2streak2} \
  162.     {-colour} {0 103 0} \
  163.     {-terrain} {:textures:terrain:snow2streak2} \
  164.     {-particle_texture} {:textures:snow_particle} \
  165.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  166.     {-friction} {0.35} \
  167.     {-comp_depth} {0.06} \
  168.     {-sound_action} {:actions:sounds:snow_slide}
  169.  
  170. objcreate {s_terrain} {:terrains:snowruts} \
  171.     {-colour} {0 107 0} \
  172.     {-terrain} {:textures:terrain:snowruts} \
  173.     {-track_head_texture} {:textures:terrain:snowa} \
  174.     {-track_mark_texture} {:textures:terrain:snowb} \
  175.     {-track_tail_texture} {:textures:terrain:snowc} \
  176.     {-particle_texture} {:textures:snow_particle} \
  177.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  178.     {-friction} {0.35} \
  179.     {-comp_depth} {0.11} \
  180.     {-sound_action} {:actions:sounds:snow_slide}
  181.  
  182. objcreate {s_terrain} {:terrains:thinsnow} \
  183.     {-colour} {0 3 0} \
  184.     {-terrain} {:textures:terrain:thinsnow} \
  185.     {-particle_texture} {:textures:snow_particle} \
  186.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  187.     {-friction} {0.35} \
  188.     {-comp_depth} {0.06} \
  189.     {-sound_action} {:actions:sounds:snow_slide}
  190.  
  191. objcreate {s_terrain} {:terrains:patternsnow} \
  192.     {-colour} {7 0 0} \
  193.     {-terrain} {:textures:terrain:patternsnow} \
  194.     {-track_head_texture} {:textures:terrain:snowa} \
  195.     {-track_mark_texture} {:textures:terrain:snowb} \
  196.     {-track_tail_texture} {:textures:terrain:snowc} \
  197.     {-particle_texture} {:textures:snow_particle} \
  198.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  199.     {-friction} {0.35} \
  200.     {-comp_depth} {0.11} \
  201.     {-sound_action} {:actions:sounds:snow_slide}
  202.  
  203. objcreate {s_terrain} {:terrains:snowprints} \
  204.     {-colour} {0 7 0} \
  205.     {-terrain} {:textures:terrain:snowprints} \
  206.     {-track_head_texture} {:textures:terrain:snowa} \
  207.     {-track_mark_texture} {:textures:terrain:snowb} \
  208.     {-track_tail_texture} {:textures:terrain:snowc} \
  209.     {-particle_texture} {:textures:snow_particle} \
  210.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  211.     {-friction} {0.35} \
  212.     {-comp_depth} {0.11} \
  213.     {-sound_action} {:actions:sounds:snow_slide}
  214.  
  215.  
  216. objcreate {s_terrain} {:terrains:snow} \
  217.     {-colour} {255 255 255} \
  218.     {-terrain} {:textures:terrain:snow} \
  219.     {-track_head_texture} {:textures:terrain:snowa} \
  220.     {-track_mark_texture} {:textures:terrain:snowb} \
  221.     {-track_tail_texture} {:textures:terrain:snowc} \
  222.     {-particle_texture} {:textures:snow_particle} \
  223.     {-transition_textures} {:textures:terrain:transition_snow0 :textures:terrain:transition_snow1 :textures:terrain:transition_snow2 :textures:terrain:transition_snow3} \
  224.     {-friction} {0.35} \
  225.     {-comp_depth} {0.11} \
  226.     {-sound_action} {:actions:sounds:snow_slide}
  227.  
  228. objcreate {s_terrain} {:terrains:driftsnow} \
  229.     {-colour} {90 90 90} \
  230.     {-terrain} {:textures:terrain:driftsnow} \
  231.     {-track_head_texture} {:textures:terrain:snowa} \
  232.     {-track_mark_texture} {:textures:terrain:snowb} \
  233.     {-track_tail_texture} {:textures:terrain:snowc} \
  234.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  235.     {-friction} {0.35} \
  236.     {-comp_depth} {0.11} \
  237.     {-sound_action} {:actions:sounds:snow_slide}
  238.  
  239. objcreate {s_terrain} {:terrains:sawdust} \
  240.     {-colour} {100 100 100} \
  241.     {-terrain} {:textures:terrain:sawdust} \
  242.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  243.     {-friction} {0.4} \
  244.     {-comp_depth} {0.03} \
  245.     {-sound_action} {:actions:sounds:snow_slide}
  246.  
  247. objcreate {s_terrain} {:terrains:snowy_path} \
  248.     {-colour} {69 69 69} \
  249.     {-terrain} {:textures:terrain:snowy_path} \
  250.     {-track_head_texture} {:textures:terrain:muda} \
  251.     {-track_mark_texture} {:textures:terrain:mudb} \
  252.     {-track_tail_texture} {:textures:terrain:mudc} \
  253.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  254.     {-friction} {0.35} \
  255.     {-comp_depth} {0.07} \
  256.     {-sound_action} {:actions:sounds:snow_slide}
  257.     
  258. objcreate {s_terrain} {:terrains:snowydeepice} \
  259.     {-colour} {0 92 95} \
  260.     {-terrain} {:textures:terrain:snowydeepice} \
  261.     {-track_head_texture} {:textures:terrain:snowa} \
  262.     {-track_mark_texture} {:textures:terrain:snowb} \
  263.     {-track_tail_texture} {:textures:terrain:snowc} \
  264.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  265.     {-friction} {0.3} \
  266.     {-comp_depth} {0.07} \
  267.     {-sound_action} {:actions:sounds:snow_slide}
  268.  
  269. objcreate {s_terrain} {:terrains:snowyice} \
  270.     {-colour} {30 42 95} \
  271.     {-terrain} {:textures:terrain:snowyice} \
  272.     {-track_head_texture} {:textures:terrain:snowa} \
  273.     {-track_mark_texture} {:textures:terrain:snowb} \
  274.     {-track_tail_texture} {:textures:terrain:snowc} \
  275.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  276.     {-friction} {0.3} \
  277.     {-comp_depth} {0.07} \
  278.     {-sound_action} {:actions:sounds:snow_slide}
  279.  
  280. objcreate {s_terrain} {:terrains:snowygrass} \
  281.     {-colour} {70 42 25} \
  282.     {-terrain} {:textures:terrain:snowygrass} \
  283.     {-track_head_texture} {:textures:terrain:snowa} \
  284.     {-track_mark_texture} {:textures:terrain:snowb} \
  285.     {-track_tail_texture} {:textures:terrain:snowc} \
  286.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  287.     {-friction} {0.3} \
  288.     {-comp_depth} {0.07} \
  289.     {-sound_action} {:actions:sounds:snow_slide}
  290.  
  291. objcreate {s_terrain} {:terrains:snowydeadgrass} \
  292.     {-colour} {70 42 25} \
  293.     {-terrain} {:textures:terrain:snowydeadgrass} \
  294.     {-track_head_texture} {:textures:terrain:snowa} \
  295.     {-track_mark_texture} {:textures:terrain:snowb} \
  296.     {-track_tail_texture} {:textures:terrain:snowc} \
  297.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  298.     {-friction} {0.3} \
  299.     {-comp_depth} {0.07} \
  300.     {-sound_action} {:actions:sounds:snow_slide}
  301.  
  302. objcreate {s_terrain} {:terrains:snowyslate} \
  303.     {-colour} {70 142 125} \
  304.     {-terrain} {:textures:terrain:snowyslate} \
  305.     {-transition_textures} {:textures:terrain:transition0 :textures:terrain:transition1 :textures:terrain:transition2 :textures:terrain:transition3} \
  306.     {-friction} {0.3} \
  307.     {-comp_depth} {0.07} \
  308.     {-sound_action} {:actions:sounds:snow_slide}
  309.  
  310. # ----- End output of [objserialize :terrains]
  311.